#by SNWCreations

execute unless entity @e[tag=hunterplus_orgin] at @r run summon armor_stand ~ ~ ~ {Tags:["hunterplus_orgin"]}

scoreboard objectives add kill_dragon dummy
scoreboard objectives add death deathCount
scoreboard objectives add stats dummy
scoreboard players add gameState stats 0

team add runner
team add hunter
team modify hunter friendlyFire false
team modify runner friendlyFire false
team modify hunter color red
team modify runner color blue

gamerule doImmediateRespawn true
gamerule keepInventory false

# update: give Wool for choose team

give @a red_wool{HunterTeam:1,display:{Name:{"text": "Become HUNTER", "color": "red", "bold": true}}}
give @a blue_wool{HunterTeam:2,display:{Name:{"text": "Become RUNNER", "color": "blue", "bold": true}}}

#messages
tellraw @a [{"text":"[","color":"gray","bold":false},{"text":"HunterGame+","color":"blue","bold":false},{"text":"] ","color":"gray","bold":false},{"text":"Loaded Successfully.","color":"yellow","bold":false}]



